package com.kungkhies.mvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wallsc
 */
@Controller
public class ForwardingController
{
    @RequestMapping("/{kungkherId}")
    public String showKungkhiesForKungkher(@PathVariable String kungkherId)
    {
        return "forward:/app/kungkhers/" + kungkherId;
    }

    @RequestMapping("/signup")
    public String signup()
    {
        return "forward:/app/kungkhers/form";
    }
}
